package org.microservice.system.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.microservice.common.bean.PostVo;

import java.util.List;
import java.util.Map;
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2018-09-04
 */
@Mapper
public interface SysPostDao extends BaseMapper<PostVo> {

    List<PostVo> getListPage(Map<String, Object> params);

    int getListPageTotal(Map<String, Object> params);

    void updateDisabledById(int id);
}

